package com.example.demo.OneToMany.repository;


import com.example.demo.OneToMany.entity.Teacher;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TeacherRepository extends JpaRepository<Teacher,Long> {

    Teacher findById(long id);
}
